package com.alan.validate.util;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class MobileValid{

	public static boolean isMobile(String mobile){
		if(mobile==null){
			return false;
		}
		Pattern p=Pattern.compile("^[1][3,4,5,7,8][0-9]{9}$");
		Matcher m=p.matcher(mobile.toString());
		return m.matches();
	}


}
